<?php
declare(strict_types=1);

namespace Hyperfx\Utils;

use Hyperf\Utils\Network;

class NetworkUtil {

    public static function ip(): string {
        return env("X-HOSTNAME", Network::ip());
    }
}